#include <stdio.h>
#include <stdlib.h>
#include <unistd.h>

int main(int argc, char* argv[])
{
    int result = 0;
    
    printf("current: %d\n", getpid());

    result = system("pstree -A -p -s $$");
    
    printf("result = %d\n", result);
    
    return 0;
}

